Stake token
POST/stake
Stake token
Request
Query Parameters
apiKey stringrequired
Example: {{publicKey}}
- application/json
Body
accountAddress string
tokenAmount string
tokenAddress string
Responses
- 201
- 403
Created
- application/json
- Schema
- Example (from schema)
Schema
contractAddress string
encodedABI string
{
"contractAddress": "0xa3dc222eC847Aac61FB6910496295bF344Ea46be",
"encodedABI": "0xd0e30db0"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage object
statusCode integer
message string
error string
path string
{
"statusCode": 403,
"errorMessage": {
"statusCode": 403,
"message": "Forbidden resource",
"error": "Forbidden"
},
"path": "/api/v0/staking/stake?apiKey={{publicKey}}"
}
Loading...